package com.examination.exam.service;

import com.examination.domain.exam.entity.Examination;
import org.bson.conversions.Bson;

import java.util.List;

public interface ExaminationService {
    Examination getExaminationById(Object id);

    void addExamination(Examination question);

    List<Examination> getExaminationByQuery(Bson query);

    long updateExamination(Bson filter, Bson bson);

    long replaceExamination(Bson filter, Examination examination);

    boolean removeById(Long id);
}
